using System;
using System.Windows.Forms;

namespace ClientTools.Client.Controls.Versions
{
    public partial class DlgDeleteByNumberOfItems : Form
    {
        public DlgDeleteByNumberOfItems()
        {
            InitializeComponent();
        }

        private void CancelButtonClick(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
            Close();
        }

        public int NumberOfItems
        {
            get { return (int)numericUpDown1.Value; }
        }

        public bool Recursive
        {
            get { return chkRecursive.Checked; }
        }

        private void OkButtonClick(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
            Close();
        }

        //public bool OneCallPerVersion
        //{
        //    get { return this.rbCallPerVersion.Checked; }
        //}
    }
}